<template>
  <div>
    <scroll>
      <div>
        <cart-list-item
          v-for="item in cartList"
          :key="item.iid"
          :item-info="item"
        ></cart-list-item>
      </div>
    </scroll>
  </div>
</template>

<script>
import Scroll from "@/components/common/scroll/Scroll";
import CartListItem from "./CartListItem";

export default {
  name: "CartList",
  components: {
    Scroll,
    CartListItem,
  },
  props: {
    cartList: {
      type: Array,
      default() {
        return [];
      },
    },
  },
};
</script>

<style scoped>
</style>
